﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="DTcms.Web.UI.Page.article" ValidateRequest="false" %>
<%@ Import namespace="System.Collections.Generic" %>
<%@ Import namespace="System.Text" %>
<%@ Import namespace="System.Data" %>
<%@ Import namespace="DTcms.Common" %>

<script runat="server">
override protected void OnInit(EventArgs e)
{

	/* 
		This page was created by DTcms Template Engine at 2018/7/17 23:40:42.
		本页面代码由DTcms模板引擎生成于 2018/7/17 23:40:42. 
	*/

	base.channel = "down";
	base.OnInit(e);
	StringBuilder templateBuilder = new StringBuilder(220000);

	templateBuilder.Append("<!doctype html>\r\n<html>\r\n<head>\r\n<meta charset=\"utf-8\">\r\n<title>资源下载 - ");
	templateBuilder.Append(Utils.ObjectToStr(site.name));
	templateBuilder.Append("</title>\r\n<meta name=\"keywords\" content=\"");
	templateBuilder.Append(Utils.ObjectToStr(site.seo_keyword));
	templateBuilder.Append("\" />\r\n<meta name=\"description\" content=\"");
	templateBuilder.Append(Utils.ObjectToStr(site.seo_description));
	templateBuilder.Append("\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"");
	templateBuilder.Append("/templates/main");
	templateBuilder.Append("/css/style.css\">\r\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
	templateBuilder.Append(Utils.ObjectToStr(config.webpath));
	templateBuilder.Append("scripts/jquery/jquery-1.11.2.min.js\"></");
	templateBuilder.Append("script>\r\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
	templateBuilder.Append("/templates/main");
	templateBuilder.Append("/js/common.js\"></");
	templateBuilder.Append("script>\r\n</head>\r\n\r\n<body id=\"down\">\r\n<!--页面头部-->\r\n");

	templateBuilder.Append("<header class=\"navbar-fixed-top headerbg\">\r\n    <div class=\"container-fluid\">\r\n        <div class=\"logo\"><a href=\"");
	templateBuilder.Append(linkurl("index"));

	templateBuilder.Append("\"><img src=\"");
	templateBuilder.Append("/templates/main");
	templateBuilder.Append("/images/logo.png\" alt=\"\"></a></div>\r\n        <div class=\"navBox hidden-xs hidden-sm\">\r\n            <ul class=\"navList list-unstyled\">\r\n                <li class=\"navLi\">\r\n                    <h3><a href=\"");
	templateBuilder.Append(linkurl("index"));

	templateBuilder.Append("\"><span>首页</span></a></h3>\r\n                </li>\r\n                <li class=\"navLi\">\r\n                    <h3><a href=\"");
	templateBuilder.Append(linkurl("product"));

	templateBuilder.Append("\"><span>产品中心</span></a></h3>\r\n                </li>\r\n                <li class=\"navLi\">\r\n                    <h3><a href=\"");
	templateBuilder.Append(linkurl("dynamic"));

	templateBuilder.Append("\"><span>公司动态</span></a></h3>\r\n                </li>\r\n                <li class=\"navLi\">\r\n                    <h3><a href=\"");
	templateBuilder.Append(linkurl("solution"));

	templateBuilder.Append("\"><span>解决方案</span></a></h3>\r\n                </li>\r\n                <li class=\"navLi\">\r\n                    <h3><a href=\"");
	templateBuilder.Append(linkurl("case"));

	templateBuilder.Append("\"><span>产品案例</span></a></h3>\r\n                </li>\r\n                <li class=\"navLi\">\r\n                    <h3><a href=\"");
	templateBuilder.Append(linkurl("about"));

	templateBuilder.Append("\"><span>关于我们</span></a></h3>\r\n                </li>\r\n            </ul>\r\n        </div>\r\n        <div class=\"header_phone\">\r\n            <div class=\"icon_phone pt5 fl\"><img src=\"");
	templateBuilder.Append("/templates/main");
	templateBuilder.Append("images/icon_phone.png\"></div>\r\n            <div class=\"phone fl\">\r\n                <h4>服务咨询热线：</h4>\r\n                <h2>0536-11111111</h2>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</header>");


	templateBuilder.Append("\r\n<!--/页面头部-->\r\n\r\n<!--当前位置-->\r\n<div class=\"section\">\r\n    <div class=\"location\">\r\n        <span>当前位置：</span>\r\n        <a href=\"");
	templateBuilder.Append(linkurl("index"));

	templateBuilder.Append("\">首页</a> &gt;\r\n        <a href=\"");
	templateBuilder.Append(linkurl("down"));

	templateBuilder.Append("\">资源下载</a>\r\n    </div>\r\n</div>\r\n<!--/当前位置-->\r\n\r\n<!--/推荐资源-->\r\n<div class=\"section\">\r\n    <div class=\"wrapper clearfix\">\r\n        <div class=\"wrap-box\">\r\n            <div class=\"left-455\" style=\"margin:0;\">\r\n                <div class=\"side-img-box\">\r\n                ");
	DataTable focusList = get_article_list(channel, 0, 1, "status=0 and is_slide=1");

	foreach(DataRow dr in focusList.Rows)
	{

	templateBuilder.Append("\r\n                    <a href=\"");
	templateBuilder.Append(linkurl("down_show",Utils.ObjectToStr(dr["id"])));

	templateBuilder.Append("\">\r\n                        <div class=\"abs-bg\"></div>\r\n                        <div class=\"info\">\r\n                            <h3>" + Utils.ObjectToStr(dr["title"]) + "</h3>\r\n                            <p>");	templateBuilder.Append(Utils.ObjectToDateTime(Utils.ObjectToStr(dr["add_time"])).ToString("yyyy-MM-dd"));

	templateBuilder.Append("</p>\r\n                        </div>\r\n                        <img src=\"" + Utils.ObjectToStr(dr["img_url"]) + "\" />\r\n                    </a>\r\n                ");
	}	//end for if

	templateBuilder.Append("\r\n                </div>\r\n            </div>\r\n            <div class=\"left-690\">\r\n                <ul class=\"img-list\">\r\n                ");
	DataTable redList = get_article_list(channel, 0, 6, "status=0 and is_red=1");

	foreach(DataRow dr in redList.Rows)
	{

	templateBuilder.Append("\r\n                    <li>\r\n                        <a href=\"");
	templateBuilder.Append(linkurl("down_show",Utils.ObjectToStr(dr["id"])));

	templateBuilder.Append("\">\r\n                            <div class=\"img-box\"><img src=\"" + Utils.ObjectToStr(dr["img_url"]) + "\" /></div>\r\n                            <div class=\"abs-bg\"></div>\r\n                            <div class=\"remark\">\r\n                                <h3>" + Utils.ObjectToStr(dr["title"]) + "</h3>\r\n                                <p>");	templateBuilder.Append(Utils.ObjectToDateTime(Utils.ObjectToStr(dr["add_time"])).ToString("yyyy-MM-dd"));

	templateBuilder.Append("</p>\r\n                            </div>\r\n                        </a>\r\n                    </li>\r\n                ");
	}	//end for if

	templateBuilder.Append("\r\n                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n<!--/推荐资源-->\r\n\r\n<!--分类推荐-->\r\n<div class=\"section\">\r\n    ");
	DataTable categoryList = get_category_child_list(channel,0);

	foreach(DataRow cdr in categoryList.Rows)
	{

	templateBuilder.Append("\r\n    <div class=\"main-tit\">\r\n        <h2>" + Utils.ObjectToStr(cdr["title"]) + "</h2>\r\n        <p>\r\n            ");
	DataTable bcategoryList = get_category_child_list(channel,Utils.StrToInt(Utils.ObjectToStr(cdr["id"]), 0));

	foreach(DataRow dr in bcategoryList.Rows)
	{

	templateBuilder.Append("\r\n            <a href=\"");
	templateBuilder.Append(linkurl("down_list",Utils.ObjectToStr(dr["id"])));

	templateBuilder.Append("\">" + Utils.ObjectToStr(dr["title"]) + "</a>\r\n            ");
	}	//end for if

	templateBuilder.Append("\r\n            <a href=\"");
	templateBuilder.Append(linkurl("down_list",Utils.ObjectToStr(cdr["id"])));

	templateBuilder.Append("\">更多<i>+</i></a>\r\n        </p>\r\n    </div>\r\n    <div class=\"wrapper clearfix\">\r\n        <div class=\"wrap-box\">\r\n            <ul class=\"img-list\">\r\n            ");
	DataTable dt = get_article_list(channel, Utils.StrToInt(Utils.ObjectToStr(cdr["id"]), 0), 5, "status=0");

	foreach(DataRow dr in dt.Rows)
	{

	templateBuilder.Append("\r\n                <li>\r\n                    <a title=\"" + Utils.ObjectToStr(dr["title"]) + "\" href=\"");
	templateBuilder.Append(linkurl("down_show",Utils.ObjectToStr(dr["id"])));

	templateBuilder.Append("\">\r\n                        <div class=\"img-box\"><img src=\"" + Utils.ObjectToStr(dr["img_url"]) + "\" /></div>\r\n                        <div class=\"info\">\r\n                            <h3>" + Utils.ObjectToStr(dr["title"]) + "</h3>\r\n                            <p>\r\n                                <strong>下载 <script type=\"text/javascript\" src=\"");
	templateBuilder.Append(Utils.ObjectToStr(config.webpath));
	templateBuilder.Append("tools/submit_ajax.ashx?action=view_attach_count&channel_id=" + Utils.ObjectToStr(dr["channel_id"]) + "id=" + Utils.ObjectToStr(dr["id"]) + "&view=count\"></");
	templateBuilder.Append("script></strong>\r\n                                <span>");	templateBuilder.Append(Utils.ObjectToDateTime(Utils.ObjectToStr(dr["add_time"])).ToString("yyyy-MM-dd"));

	templateBuilder.Append("</span>\r\n                            </p>\r\n                        </div>\r\n                    </a>\r\n                </li>\r\n            ");
	}	//end for if

	templateBuilder.Append("\r\n            </ul>\r\n        </div>\r\n    </div>\r\n    ");
	}	//end for if

	templateBuilder.Append("\r\n</div>\r\n<!--/分类推荐-->\r\n\r\n<!--页面底部-->\r\n");

	templateBuilder.Append("<footer class=\"footerBg\">\r\n    <div class=\"container\">\r\n        <div class=\"ptb40\">\r\n            <div class=\"footTopL\">\r\n                <dl class=\"clearfix\">\r\n                    <dt>关于我们</dt>\r\n                    <dd><a href=\"#\">联系地址</a></dd>\r\n                    <dd><a href=\"#\">公司介绍</a></dd>\r\n                    <dd><a href=\"#\">荣誉资质</a></dd>\r\n                    <dd><a href=\"#\">招聘信息</a></dd>\r\n                </dl>\r\n                <dl class=\"clearfix\">\r\n                    <dt>公司产品</dt>\r\n                    <dd><a href=\"#\">网站公司认证计费系统</a></dd>\r\n                    <dd><a href=\"#\">网站公司tv系统</a></dd>\r\n                    <dd><a href=\"#\">软件路由系统</a></dd>\r\n                    <dd><a href=\"#\">网站公司缓存系统</a></dd>\r\n                    <dd><a href=\"#\">网站公司智慧机房</a></dd>\r\n                    <dd><a href=\"#\">网站公司硬件产品</a></dd>\r\n                </dl>\r\n                <dl class=\"clearfix\">\r\n                    <dt>教程中心</dt>\r\n                    <dd><a href=\"#\">计费产品对接</a></dd>\r\n                    <dd><a href=\"#\">安装教程</a></dd>\r\n                    <dd><a href=\"#\">网络技术教程</a></dd>\r\n                    <dd><a href=\"#\">tv教程</a></dd>\r\n                </dl>\r\n                <dl class=\"clearfix\">\r\n                    <dt>解决方案</dt>\r\n                    <dd><a href=\"#\">点播直播解决方案</a></dd>\r\n                    <dd><a href=\"#\">宽带运营解决方案</a></dd>\r\n                    <dd><a href=\"#\">运营商tv解决方案</a></dd>\r\n                    <dd><a href=\"#\">酒店TPTV解决方案</a></dd>\r\n                </dl>\r\n\r\n            </div>\r\n            <div class=\" center weixin\"><img src=\"");
	templateBuilder.Append("/templates/main");
	templateBuilder.Append("/images/weixing-ma.jpg\"><h5>微信关注我们</h5></div>\r\n        </div>\r\n    </div>\r\n    <div class=\"CopyRight\">\r\n        <div class=\"container\"><span class=\"footer_logo\"><img src=\"images/footer_logo.png\"></span><span class=\"CopyRight_name\">CopyRight 软件名称 2016 版权所有 鲁ICP备xxxxxxxxx</span></div>\r\n    </div>\r\n</footer>");


	templateBuilder.Append("\r\n<!--/页面底部-->\r\n</body>\r\n</html>");
	Response.Write(templateBuilder.ToString());
}
</script>
